package com.mangofactory.flapper.parsley.configuration.tag
{
	import com.mangofactory.aop.configuration.AspectContainerBuilder;
	import com.mangofactory.aop.configuration.ClassRegistry;
	import com.mangofactory.aop.configuration.ExplicitClassRegistry;
	import com.mangofactory.aop.configuration.MetatagProxyPolicy;
	import com.mangofactory.aop.configuration.ProxyPolicy;
	import com.mangofactory.aop.configuration.tag.AbstractAspectSupportTag;
	import com.mangofactory.aop.configuration.tag.MetatagAspectDefinition;
	import com.mangofactory.flapper.parsley.lifecycle.ProxyGeneratorConfigurationProcessor;
	
	import org.spicefactory.parsley.core.builder.CompositeContextBuilder;
	import org.spicefactory.parsley.flex.tag.builder.ContextBuilderProcessor;

	public class AspectSupport extends AbstractAspectSupportTag implements ContextBuilderProcessor
	{
		public function processBuilder(builder:CompositeContextBuilder):void
		{
			var proxyProcessor:ProxyGeneratorConfigurationProcessor = new ProxyGeneratorConfigurationProcessor(aspectContainerBuilder);
			builder.addProcessor(proxyProcessor);
		}

	}
}